package com.lbn.monitor.util;

/**
 * @author 李炳南
 * @date 2017/3/16
 */
public class String2Num {

    public static double str2Double(String s){
        try {
            return Double.parseDouble(s);
        }catch (Exception e){
            return 0;
        }
    }

}
